package com.study.pojo;

/**
 * 图书点赞表
 * @Author Miss kun
 * @Date 2020/10/8 19:41
 * @Version 1.0
 */
public class BookLikes {
    private Integer id ;

    /**
     * 图书对应的id
     */
    private Integer book_id;

    /**
     * 点赞数
     */
    private int number;

    public BookLikes( Integer book_id, int number) {
        this.book_id = book_id;
        this.number = number;
    }

    public BookLikes() {
    }

    @Override
    public String toString() {
        return "BookLikes{" +
                "id=" + id +
                ", book_id=" + book_id +
                ", number=" + number +
                '}';
    }
}
